package com.rainy.generator.dao;

import com.rainy.generator.entity.PathEntity;
import com.rainy.generator.entity.PathQuery;

import java.util.List;

/**
 * @author liuqin on 2017/12/16
 */
public interface PathDao {

    PathEntity queryPathByDb(String db);

    PathEntity queryPathById(Long id);

    List<PathEntity> queryPaths(PathQuery pathQuery);

    Long queryCount(PathQuery pathQuery);

    void update(PathEntity pathEntity);

    void save(PathEntity pathEntity);

    void delete(Long id);
}
